package com.iterator.mapper.web.goodsManager;

import com.iterator.bean.web.pojo.tcy.GoodsProduct;
import com.iterator.bean.web.pojo.tcy.GoodsProductExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * @author tean_cy
 * @date 2021/1/10 20:11
 */
public interface GoodsProductMapper {
    Integer countByExample(GoodsProductExample example);

    int deleteByExample(GoodsProductExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(GoodsProduct record);

    int insertSelective(GoodsProduct record);

    List<GoodsProduct> selectByExample(GoodsProductExample example);

    GoodsProduct selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") GoodsProduct record, @Param("example") GoodsProductExample example);

    int updateByExample(@Param("record") GoodsProduct record, @Param("example") GoodsProductExample example);

    int updateByPrimaryKeySelective(GoodsProduct record);

    int updateByPrimaryKey(GoodsProduct record);

    List<GoodsProduct> selectByGoodsId(@Param("id") Integer id);
}